package com.liy.framework.common.websocket.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Configuration
@ComponentScan({"com.das.framework.common.websocket.server", "com.das.framework.common.websocket.rest"})
public class WebSocketConfiguration {
    public WebSocketConfiguration() {}

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
